package com.schoolhelper.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import lombok.*;

/**
 * (TFollow)表实体类
 *
 * @author makejava
 * @since 2021-04-23 21:03:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TFollow extends Model<TFollow> {

    //关注关系的id
    @TableId(type = IdType.AUTO)
    private Long followId;

    private Integer userId;

    //关注的人的id
    private Integer followingUserId;

    //关注时间
    private Date followDatetime;
}
